package com.fourool.goodsmall.service;

import com.fourool.goodsmall.common.Result;
import com.fourool.goodsmall.dto.CreateOrderDTO;
import com.fourool.goodsmall.dto.OrderPayDTO;

public interface GOrderService {
    Result createOrder(CreateOrderDTO dto);
    Result getOrderList(Integer pid, Integer status);
    Result getOrderDetail(Integer id);
    Result payOrder(OrderPayDTO dto);
    Result cancelOrder(Integer id);
}